var { appUtils, gUtils, deviceUtils } = require("../shizukuUtils/index");

function main(appName) {
  if ($shizuku.isRunning()) {
    deviceUtils.home();
    gUtils.sleep(2, 3);
    appUtils.openApp(appName);
  } else {
    console.show();
    console.log("shizuku 未运行，请检查");
  }
}
Wang.main = main;
